"""
用while循环实现1~100求和

Version: 0.1
Author: yuwl
Date: 2023-10-16
"""

sum = 0
num = 1
while num <= 100:
	sum += num
	num += 1
print(sum)